module IPFS.Client.Utils.Multipart(
  Multipart(..),
  mkMultipart,
  getBoundary
) where

import Effect (Effect)
import Node.StreamEx.Types as ST

type Multipart a = ST.Transform a

foreign import mkMultipart::forall a. Effect (Multipart a)

foreign import getBoundary::forall a.Multipart a -> Effect String